package com.atguigu.gmall.product.eneity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("base_category1")
@Data
public class BaseCategory1 {

    @TableId(type = IdType.AUTO)
    private Long id;//主键

    @TableField("name")
    private String name;//分类名
}
